package com.juli.school.dao.entity;

import com.juli.school.dao.base.BaseEntity;

/**
 * @Description: 抽奖奖品表
 * @author: wjp
 * @date: 2018年3月24日下午2:06:43
 */
public class Lottery extends BaseEntity {

	private static final long serialVersionUID = 1041517448639485750L;

	/**
	 * @Description: 奖品名称
	 * @author: wjp
	 * @date: 2018年3月25日下午4:33:55
	 */
	private String prizename;

	/**
	 * @Description: 奖品价格
	 * @author: wjp
	 * @date: 2018年3月25日下午4:34:00
	 */
	private String prizeprice;

	/**
	 * @Description: 奖品类型 ：0 没有中奖，1 实物奖品，2 虚拟奖品，3 积分奖励
	 * @author: wjp
	 * @date: 2018年3月25日下午4:34:04
	 */
	private Integer type;

	/**
	 * @Description: 排序
	 * @author: wjp
	 * @date: 2018年3月25日下午4:34:09
	 */
	private Integer sort;

	/**
	 * @Description: 概率
	 * @author: wjp
	 * @date: 2018年3月25日下午4:34:15
	 */
	private Integer probability;

	/**
	 * @Description: 是否是积分：true是积分，价格即为增加积分的数量
	 * @author: wjp
	 * @date: 2018年3月25日下午4:34:19
	 */
	private Boolean isIntegral;

	/**
	 * @Description: 奖品原本个数,若值 为 -1 ，则表示无限制
	 * @author: wjp
	 * @date: 2018年3月25日下午4:34:29
	 */
	private Integer num;

	/**
	 * @Description: 奖品剩余个数,若值 为 -1 ，则表示无限制
	 * @author: wjp
	 * @date: 2018年3月25日下午4:34:36
	 */
	private Integer surplusNum;

	public Lottery(Integer id, String prizename, String prizeprice, Integer sort, Integer probability,
			Boolean isIntegral) {
		super();
		this.prizename = prizename;
		this.prizeprice = prizeprice;
		this.sort = sort;
		this.probability = probability;
		this.isIntegral = isIntegral;
	}

	public Lottery(Integer id, String prizeprice, Integer probability) {
		super();
		this.id = id;
		this.prizeprice = prizeprice;
		this.probability = probability;
	}

	public Lottery(String prizename, String prizeprice, Integer type) {
		super();
		this.prizename = prizename;
		this.prizeprice = prizeprice;
		this.type = type;
	}

	public Lottery() {
	}

	public String getPrizename() {
		return prizename;
	}

	public void setPrizename(String prizename) {
		this.prizename = prizename;
	}

	public String getPrizeprice() {
		return prizeprice;
	}

	public void setPrizeprice(String prizeprice) {
		this.prizeprice = prizeprice;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Integer getSort() {
		return sort;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}

	public Integer getProbability() {
		return probability;
	}

	public void setProbability(Integer probability) {
		this.probability = probability;
	}

	public Boolean getIsIntegral() {
		return isIntegral;
	}

	public void setIsIntegral(Boolean isIntegral) {
		this.isIntegral = isIntegral;
	}

	public Integer getNum() {
		return num;
	}

	public void setNum(Integer num) {
		this.num = num;
	}

	public Integer getSurplusNum() {
		return surplusNum;
	}

	public void setSurplusNum(Integer surplusNum) {
		this.surplusNum = surplusNum;
	}

}
